package com.dlwx.firefighting.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/8/30.
 */

public class CategoryBean {
    /**
     * cat_id : 5
     * cat_name : 家用电器
     * list : [{"cat_id":"182","cat_name":"五金家装","children":[{"cat_id":"218","cat_name":"家具五金"},{"cat_id":"215","cat_name":"电动工具"},{"cat_id":"216","cat_name":"手动工具"},{"cat_id":"217","cat_name":"厨卫五金"},{"cat_id":"219","cat_name":"电工电料"},{"cat_id":"220","cat_name":"监控安防"}]},{"cat_id":"178","cat_name":"大家电","children":[{"cat_id":"183","cat_name":"平板电视"},{"cat_id":"184","cat_name":"空调冰箱"},{"cat_id":"185","cat_name":"洗衣机"},{"cat_id":"186","cat_name":"家庭影院"},{"cat_id":"187","cat_name":"烟机/灶具"},{"cat_id":"188","cat_name":"热水器"},{"cat_id":"189","cat_name":"消毒柜/洗碗机"},{"cat_id":"190","cat_name":"冷柜/冰吧"}]},{"cat_id":"179","cat_name":"生活电器","children":[{"cat_id":"191","cat_name":"电风扇"},{"cat_id":"192","cat_name":"净化器"},{"cat_id":"193","cat_name":"加湿器"},{"cat_id":"194","cat_name":"吸尘器"},{"cat_id":"195","cat_name":"挂烫机/熨斗"},{"cat_id":"196","cat_name":"取暖电器"},{"cat_id":"197","cat_name":"饮水机"},{"cat_id":"198","cat_name":"其它生活电器"}]},{"cat_id":"180","cat_name":"厨房电器","children":[{"cat_id":"199","cat_name":"电饭煲"},{"cat_id":"200","cat_name":"微波炉"},{"cat_id":"201","cat_name":"电磁炉"},{"cat_id":"202","cat_name":"电饼铛/烧烤盘"},{"cat_id":"203","cat_name":"电炖锅"},{"cat_id":"204","cat_name":"果蔬解毒机"},{"cat_id":"205","cat_name":"养生壶/煎药壶"},{"cat_id":"206","cat_name":"其它厨房电器"}]},{"cat_id":"181","cat_name":"个护健康","children":[{"cat_id":"207","cat_name":"剃须刀"},{"cat_id":"208","cat_name":"电吹风"},{"cat_id":"209","cat_name":"按摩椅"},{"cat_id":"210","cat_name":"足浴盆"},{"cat_id":"211","cat_name":"健康秤/厨房秤"},{"cat_id":"212","cat_name":"血糖仪"},{"cat_id":"213","cat_name":"计步器/脂肪检测"},{"cat_id":"214","cat_name":"其它健康电器"}]}]
     */
    private String cat_id;
    private String cat_name;
    private boolean isChoose;
    private List<ListBean> list;

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    public String getCat_id() {
        return cat_id;
    }

    public void setCat_id(String cat_id) {
        this.cat_id = cat_id;
    }

    public String getCat_name() {
        return cat_name;
    }

    public void setCat_name(String cat_name) {
        this.cat_name = cat_name;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * cat_id : 182
         * cat_name : 五金家装
         * children : [{"cat_id":"218","cat_name":"家具五金"},{"cat_id":"215","cat_name":"电动工具"},{"cat_id":"216","cat_name":"手动工具"},{"cat_id":"217","cat_name":"厨卫五金"},{"cat_id":"219","cat_name":"电工电料"},{"cat_id":"220","cat_name":"监控安防"}]
         */

        private String cat_id;
        private String cat_name;
        private List<ChildrenBean> children;

        public String getCat_id() {
            return cat_id;
        }

        public void setCat_id(String cat_id) {
            this.cat_id = cat_id;
        }

        public String getCat_name() {
            return cat_name;
        }

        public void setCat_name(String cat_name) {
            this.cat_name = cat_name;
        }

        public List<ChildrenBean> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBean> children) {
            this.children = children;
        }

        public static class ChildrenBean {
            /**
             * cat_id : 218
             * cat_name : 家具五金
             */

            private String cat_id;
            private String cat_name;

            public String getCat_id() {
                return cat_id;
            }

            public void setCat_id(String cat_id) {
                this.cat_id = cat_id;
            }

            public String getCat_name() {
                return cat_name;
            }

            public void setCat_name(String cat_name) {
                this.cat_name = cat_name;
            }
        }
    }
}
